ADB Data Block
You can get information about an ADB device by calling the functionsGetIndADB
andGetADBInfo
. These functions return information from the ADB device table in an ADB data block, defined by theADBDataBlock
data type.
TYPE ADBDataBlock = PACKED RECORD devType: SignedByte; {device handler ID} origADBAddr: SignedByte; {original ADB address} dbServiceRtPtr: Ptr; {pointer to device handler} dbDataAreaAddr: Ptr; {pointer to data area} END; ADBDBlkPtr = ^ADBDataBlock;
Field Description
devType
- The device handler ID of the ADB device.
origADBAddr
- The device's default ADB address.
dbServiceRtPtr
A pointer to the device's device handler.dbDataAreaAddr
A pointer to the device handler's optional data area.